package com.sie.demo.entity.vo;

import com.sie.demo.entity.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import oracle.sql.DATE;

import java.util.List;

/**
 * 分页查询用户返回的对象
 * @author liaozhifeng
 * @date 2021/7/31 10:32
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageUserVo {
    List<Users> list;
    long total;
    List<Integer> roleId;

    public PageUserVo(List<Users> list, long total) {
        this.list = list;
        this.total = total;
    }
}
